package com.classroom.smart.pojo;

import java.util.Date;

public class Complain {
    private Integer id;

    private Integer userid;

    private String content;

    private Integer complainId;

    private Integer status = 1;

    private Date time;

    private String complainType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getComplainId() {
        return complainId;
    }

    public void setComplainId(Integer complainId) {
        this.complainId = complainId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getComplainType() {
        return complainType;
    }

    public void setComplainType(String complainType) {
        this.complainType = complainType == null ? null : complainType.trim();
    }

    @Override
    public String toString() {
        return "Complain{" +
                "id=" + id +
                ", userid=" + userid +
                ", content='" + content + '\'' +
                ", complainId=" + complainId +
                ", status=" + status +
                ", time=" + time +
                ", complainType='" + complainType + '\'' +
                '}';
    }
}